#include "linaroresources.h"

LinaroResources::LinaroResources()
{

}

QString LinaroResources::name()
{
    return "Linaro 资源中心";
}

QString LinaroResources::prefix()
{
    return "https://resources.linaro.org/zh/search?q=";
}

QString LinaroResources::content(const QString &text)
{
    if (text.isEmpty()) return "https://resources.linaro.org/zh";
    return prefix() + text;
}
